package by.grsu.hdm.media;

public class FileAudioVideo {
	
	private String name;
	private String format;
	private String id;
	
	public FileAudioVideo(){
		
	}
	
	public FileAudioVideo(String name, String format, String id){
		this.name = name;
		this.format = format;
		this.id = id;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public void setFormat(String format){
		this.format = format;
	}
	
	public String getName(){
		return name;
	}
	
	public String getFormat(){
		return format;
	}
	
	public String getId(){
		return id;
	}
	
	public String getMessage(String value, String format){
		setFormat(format);
		setName(value);
		return (" play " + getName() + " format " + getFormat());
	}
}
